<?php
/**
 * 常量定义.
 * User: chan
 * Date: 2017/8/14 13:37
 */
define('TIMESTAMP',time());
// 定义host
define('__ROOT__',"http://".$_SERVER['HTTP_HOST']);
define('IMG_PATH',"http://".$_SERVER['HTTP_HOST'] . '/uploads');
define('VIDEO_PATH',"http://".$_SERVER['HTTP_HOST'] . '/uploads/video');
define('MUSIC_PATH',"http://".$_SERVER['HTTP_HOST'] . '/uploads/music');
define('PDF_PATH',"http://".$_SERVER['HTTP_HOST'] . '/book');
// 定义时间
define('NOW_TIME',$_SERVER['REQUEST_TIME']);
define('BAIDU_AK','9XCxVAh0MhPMfuZnAg0XX8F3BF2fk2SI');//百度AK